// import uploadFile from '@/utils/upload'

// // 用户信息
// export function manyUploadsFile(data) {
//   return uploadFile({
//     url: '/user/uploads/manyUploadsFile',
//     data
//   })
// }
import uploadFile from '@/utils/upload'

// 用户信息
export function manyUploadsFile(data) {
  return uploadFile({
    url: '/user/uploads/manyUploadsFile',
    method: 'post',
    header: { 'Content-Type': data.contentType },
    data: data.buffer
  })
}
export function singleUploadsFile(data) {
  console.log(data)
  return uploadFile({
    url: '/user/uploads/singleUploadsFile',
    method: 'post',
    header: { 'Content-Type': data.contentType },
    data: data.buffer
  })
}
